import Dialog from "../../components/Dialog";
import ScaleSpriteSheet from "../../components/ScaleSpriteSheet";
import BaseDialogView from "./BaseDialogView";

export default class WinDialogView extends BaseDialogView{
    private _bg:Dialog
    constructor(){
        super()
        this._bg=new Dialog()
        this._bg.setDrawSize(400,400)
        //const rect=this._bg.getBounds()
        //console.log(rect)
        this._bg.setTransform((this.width-400)/2,(this.height-400)/2)
        this.addChild(this._bg)
        this.reflush()
    }
}